package com.bookmarket.service.impl;

import com.bookmarket.dao.HJHStatisticalMapper;
import com.bookmarket.entity.Btype;
import com.bookmarket.entity.Order_Book;
import com.bookmarket.service.HJHStatisticalService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


@Service("/hJHStatisticalService")
public class HJHStatisticalServiceImpl implements HJHStatisticalService {

    @Resource
    private HJHStatisticalMapper hjhStatisticalMapper;

    @Override
    public List<Btype> findAllBtype() {
        return hjhStatisticalMapper.findAllBtype();
    }

    //查询所有订单书本
    public List<Order_Book> findAllOrder_Book(){
        return hjhStatisticalMapper.findAllOrder_Book();
    }

    public HJHStatisticalMapper getHjhStatisticalMapper() {
        return hjhStatisticalMapper;
    }

    public void setHjhStatisticalMapper(HJHStatisticalMapper hjhStatisticalMapper) {
        this.hjhStatisticalMapper = hjhStatisticalMapper;
    }
}